﻿using Abp.Events.Bus;

namespace AbpProjectTemplate.Components.Payments.Event
{
    /// <summary>
    /// 支付通知事件基类
    /// </summary>
    public abstract class PaymentNotifyEventData : EventData
    {
        public PaymentType PaymentType { get; set; }

        public string OrderNo { get; set; }

        public string TradeNo { get; set; }

        public PaymentNotifyEventData(PaymentType paymentType, string orderNo, string tradeNo)
        {
            this.PaymentType = paymentType;
            this.OrderNo = orderNo;
            this.TradeNo = tradeNo;
        }
    }
}
